<!DOCTYPE html>
<meta charset=utf-8>
<script src="common.js"></script>
<script>
function test() {
  let val = window.localStorage['foo'];
  if (val !== 'bar')
    fail('Read incorrect value from localStorage. Expected "bar", got "' + val + '"');
  else
    done();
}
</script>
<body onload="setTimeout(test, 0)">
<div id="status">Starting...<br/></div>
